Added connection to upadte tileset; Added failsafe