added cloud function support
update docuemtn