Update model.php with charset option to mysql