updated customer api