updating how documents display