Change data format and get currentAttributes updating all attributes