updated post rest service