postgresql update query with limit