Added updating friend as registered to friendship model