lib now updates a local copy of the database if it already exists