[Fixed] Code snippet view should update the model