Added gender to students and fixed edit action