updating some layout stuff