updated block, unblock, flag, unflag and message functionality (from api to platform package)