Adding a management command to relate writeit and popit instances

In records so you can after update them