fixes #1, using updateWithScope and lookupWithScope everywhere, maybe erase update and lookup?