updating physics