Adds edit feature