Merged 1.3.1 update SQL script into 1.4