Updates the patch.