support for last-update time, fixed bug in Filter when checking messages