added dynamic step level to upload