edit date and category