Added edit functionality for data processor