updating texture atlas