update volume according to instance type (local or remote)