Update resources.js