Add change texture function