Reverting unnecessary update used to clear database