update_all added to collection class
Bunch of bugs fixed, some tests added too