update deploy hook for newer serverside