Fix ship updates sql.