add API pre-push to hook