fix upload logic
add versions list