updating delayed job code for production