Modified update emailuser rpc