add pre_app model