fix log file path for web
Add update hooks
update .gitignore