created an extra procedure for updating and manipulating the database.

post must be sent to the updateBoxSettings() function.