added edit questions and refactored new mrthod in questions view