improved static.md upload

on token request, send only image md5 not the whole image