added tasks in database