adding metadata and photo