working on add materials and image upload