Changed insert messages and mysqli UPDATE array
Resolved merge conflicts with HEAD