add groups when updating
strange bug, but works