Assign attributes after initialize model