fix #274 Refresh section attributes

Close #354.