Added edit function for binary editor