Upload button and refactoring of share functionality
update build