model update basic functionality