added edit helper