Updating variants in the database.