modify files and add modify profile function