add implementation of put for ConstantPoolInfo