Update in form of doctype not appear in source code

hello,when i change in form of doctype like change datatype of field in form is update but in code this update not change it stay without change how can save change to source code