updated backend and models