implement activity update