add hooks and increment version