changes process type