add test to cover update function, add merge style update, pass option to model toJSON
0.4.10