Update shell of document