updating the status of the customer after successful payment