Fix bug: due date and score lost on update