added hooks
updated hooks