update to attrs