Functions and homepage updates