updated entries_update

locked the db while the update process is completed