update codeigniter database tips & tricks