updates prompts
adds check for postgres