Bugfix for upload, better errors report.
Update submodule.