Improve datetime handling
Update dependencies