fixing some of the updating issues