update model associations