Update library

one function seems to be missing, to write the new cursor