fixed some problems with update
0.0.20130322 fixed some problems with update and clean