updated for invitation support and delete functionality on tasks and families