1. added @PreUpdate for hibernate entities
2. added log4j logging to file