update element upload page and js