updated api for new app attr