Fixed issue where bot would try to update more than once