store (state) value if set returned without error