added admin functions for relationships