added doc edit route method. baka blueed.