Added a stub function for checking for dependency loops; moved the confirmation on updating relationships.