cloud endpoint updates database