UPDATE tasks SET status=?,end=? WHERE id=?