updates for Rest.go