fixed a bug in status.update.js