Made the updateStatus code public