updated REST interface