Update rest interface for SAM