Update rest api spec