update all active record relations