updating matrix animation container