search and replace: entity -> action