added condictional for webhooks being empty