updating docs to use parent() instead of .parent