change pay_types definition to db with validation