WIP: Updating layer, and renderer API