add better security and error handling, update confirmation workers