readded map upload functionality