Update hook defintion to make concise