handle move events and patches