improve upload plugin for my base