simultaneously edit postactivate and postdeactivate