patch for db changes