How to shift strike based on current strike

I want shift current sell leg to +1 position strike toward ATM.
example : if i sold banknifty 51500 put and want to shift to +1 spot 51600pe toward atm.
or strike of 52000 call +1 spot toward atm 52900ce