Update document feature working