updated age calculation