update code - payment gateway