move group to server side