changed restApi for Group and Tag