Edit functionality implemented in batch