fix breaking collection updates when performing model operations. various fixed to models and collections
updated example