edit cma manager and thread