persist task in db after drag&drop