remove local adapter & modify image upload configs