Fix property reference on put api end point
Get edit route working properly