adding edit question functionality