sql first updated