adding edit mode for hosted repos.