Update rate.js