Reorder the hook update on OS module.
Merge pull request #3716 from openscholar/3166-hook-updates

Reorder the hook update on OS module.