updating spring structure