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

update the dababase.