update activity diagram