update foriegn keys for participants and users