Updates file time and other bug fixes