fix Document.update_doc
add spawn method for Field, add JSONDecodeError for validation process
fix logger setting functions, enhance logger handling in app module
enhance request methods, add file support