Refresh system groups index after modification through API

The problem was the elastic search was not updated before searching
for the newly created system group.