put api route works