user edit functionality issue fix