adding support for activity update