update with postgres as option