edit edit in job controller to take in jobmodel