Updated patch for media_gallery's update hook.  #2115

Already uploaded patch to d.o.
Merge pull request #2120 from openscholar/2115

Updated patch for media_gallery's update hook.  #2115