public void updateProduct() {
		try {
			Database db = dbconnect();
                         String query = "UPDATE product SET name = ?, "
                                      + "description = ? "
                                      + "WHERE PID = ?";
			db.prepare(query);
                        db.bind_param(1, this.name);
                        db.bind_param(2, this.description);
                        db.bind_param(3, this.ID.toString());
			db.executeUpdate();
			db.close();
			} catch(SQLException e){
				Error_Frame.Error(e.toString()); 
			}  
	}