update to Postgresql. fix severl bugs demo today