Merge branch 'rs/update-hook-optim'