Using transaction to update database.
use saved context.
Check first run.