added method to deactivate old jobs