updated and synchronized backend with PostreSQL