Updating Database with helper methods.