Setting updatedAt in constructor and updating getUpdatedAt method to use updatedAt var