Fix "update supplier details" function