updating aliases for postgres and cleanup