modify activit manager