installed new database logic per new requirements for registration parser