commit change database to postgre