updating admin.js views