added more support to webhook API