replace groups in Droplets