Update to DBapp

I have no idea what im doing
omg this is terrifying