some changes to the client_apps model