update depreciated functions

Deprecated in 1.8: add_submenu_item was deprecated by
elgg_register_menu_item