implemented edit work history functionality