update for unit move