updates properties