Updated the models endpoints to allow search, get, put and post