added completed style"
implemented put request for edit funcationality