Add commit functionality for the panel so that only when clicking the commit button will it really update data inside mysql db.