Update usage.rst

Update the code to fix related_name error

Fix #336