added edit button to main temaplate. added documents to instructions model