Updated method to save jobs