implemented edit job functionality