patch database