update movement engine