add patch build event