updated content view to view corrent constraints, removed self in swift