Update document of presence service for api definition