Update platform.coffee