edit output for multiple register in data.js