only resign the db when it's changed