fix server.js for video updates