changed edit method

can edit date and time independent of each other now