Updated customers update function to use POSt