Added updateActivity in documents.