Update Query In Postgresql Using Variables