added answer edit to controller