fixed up the large if else statement and cleaned up the pose updater