Added specs for updateAttributes and fixed a small createdAt bug.