implemented update funciton for test notes