updating library mobile layout