restful resource tutorial updated