add support for relationships based tasks