Small changes to the backend, added function to batch update note