updating deploy hook