Adds root id update statement for MySQL