Update activity_handler.js