Patch database changes