update oracle table using cursor in oracle