Updates and refines documentation