Improved handling relationship morphisms and ring maps