CopyToDB & Database handler update