Updated 'id' to 'project_id' for consistency and added opts to post request on query groups