Update activity.js