Implemented updating of activity record