Updated and fixed errors in files