fix updating of prices table