Implemented EditProduct + Improved Database Consistency