update add model and mysql