Implement update.
Implement insert.
Add progress information.
Fix progress logging.