updates mongodb uri to access a database called post.