A lot would depend on how your update job works. The chances are that you won’t be able to replace the menu file because it’s locked by your users. I would recommend that you run this with no users active.
Thanks for your response. Well I found out that menus were not updated when active sessions open.
Can you briefly let me know the process as to how I can identify active users and kill their sessions?