added default update for db