Added relations between map and details form