updated register with db and minor corrections