Updates some elements