updateNote method
Implementation
Future<void> updateNote(String noteId, Map<String, dynamic> updates) async {
await _client
.from('user_notes')
.update({...updates, 'updated_at': DateTime.now().toIso8601String()})
.eq('id', noteId);
}