Chapter3 Example 6: bicycles PUT request and validation