add attributes and photo