fix: update gravity when reconfigure