fixed Store crashing when updating values