updated to use @urn instead of @uuid for stored functions