If you're trying to access a specific folder directly via a link (like "https meganz folder cp upd"), and it's a shared folder:
The command megatools upd does not exist. The correct megatools command for syncing changes is: https meganz folder cp upd