update for attr accessible