added move functions for relation