change order innerHTML and open DB