update constructor version