Setting correct postgres dir
Updating attributes