Fixed job api to reflect changes