Change to ps database