debugged mysql, added timestamp for change tracing