Updated to be more universal
update