Debugging
tried to fix problem with updating