added edit styles and populated the inputs etc