Add a db refresh method