Added edit operator functionality