Update With Select Query In Postgresql