Update hook if exists
Default to development mode