tasks are moved and saved in the db