Update file content and commit