bug fix of activity update