update function finished in assignmentLibrary (assignmentLibrary finished)