Changes an existing group within a process to another group. Optionally changes the attributes for that group as well.