updated level object parsing