Extract update queries from 5.sql to 6.sql.

Because 5.sql has been applied already before adding the update queries.
issue: Fix a bug that assignee cannot be updated.

* Fetch assignee before updating.
* While adding new assignee, save it.