upload img and routes