Updated sql for new customer