Refactored valuable concern
Added tests to cover sheet_variable grid updating