update database, language, projectAdd and fix index