update task and contact