deploy hook for uploads