Push visible and hidden attributes to model