update delete logbook ajax