updated global to not insert data