version update query