Moved rotation and translate to update