Update: Implented database models