height can be updated on the fly