added metadata upload
updated log