Update api. App still broken due to factory misplacements and issues