1. Update product quantity in database in responding to the user input
2. Add unit tests