rework backend for updates; started earnings backend