update code to retrieve sales CRUD