adding tests for updates.