update models - fixed new lines, update lib/date.py