add pack and update button queries