add support for composite keys for many to many tables