Changing the action space bounds after every

Hey guys,

I’m trying to change the low and high bounds of my action space (Box) after each step that my agent takes. I tried updating the action like this, but it didn’t seem to work:

   self.action_space = Box(np.array([new_low]), np.array([new_high]))
   return obs, reward, done, info 

Is there a better way of doing this or is it even possible ?

Thanks !