Updating databse environments