updated rest config