Updated prepare statement