updated square online example