db updates, db connection class