fix bug JOYL-113,when there is no network,the database is not updated.

update the dababase.