added attribute feature, updated gem