Added delete and update behaviors to foreign keys and the ability to override their type