fix a bug with class DataBaseModel and method update where could not update according to string value
move database.php include to m.php