Update notesapi.php