updated job code
updated job code on sending recieved template