updates of activity diagram