update container position