Update platform command

Update platform command

Fix tests