ML: photos upload does not use async anymore