Added support for keeping the database up to date