updating current val