major updates for adding value attribute based on preloaded data