add activity update api