modified some API views to populate