add required migrations and add new features in API