updated rest to cater for assembly ids