implemented partial edit function
implemented partial edit