updating for new MTPocket api