add basic patch upload