editdatablock.js updated