update path using REST url route'''