made capture game; udpated database to foreign keys