Introduced hook_update_dependencies to control the order of execution of updates.