Fixed error for select update.