Move function updated.