Updated line refrences in patches to be correct