fixing relation update (when created)