Minor update to add secret key to avoid deprecation warning