Moved pricing update into a variable