added edit use functinality